// import Print from './print';
import _ from 'lodash';
import '../style.css';
import printMe from '../print.js';
import test1 from '../test1'

test1.count++
console.log('index.js', test1.count)

function component() {
    const element = document.createElement('div');

    // lodash 是由当前 script 脚本 import 进来的
    element.innerHTML = _.join(['Hello', 'webpack121'], ' ');
    element.onclick = printMe.bind(null, 'Hello webpack!');

    return element;
}

document.body.appendChild(component());

